package com.fin.quant.domain.mapstruct;

import com.fin.quant.domain.entity.DividendEntity;
import com.fin.quant.instra.mysql.model.Dividend;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

@Mapper
public interface DividendMapperStruct {
    DividendMapperStruct INSTANCE = Mappers.getMapper(DividendMapperStruct.class);

    DividendEntity model2Entity(Dividend dividend);

    Dividend entity2Model(DividendEntity dividendEntity);
}
